home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-ftn / fglpixelzoom.z / fglpixelzoom
Text File  |  1998-10-20  |  5KB  |  137 lines

  1.  
  2.  
  3.  
  4. ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm((((3333GGGG))))               OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee               ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm - specify the pixel zoom factors
  10.  
  11.  
  12. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      SUBROUTINE ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm( REAL*4 _x_f_a_c_t_o_r,
  14.                               REAL*4 _y_f_a_c_t_o_r )
  15.  
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _x_f_a_c_t_o_r, _y_f_a_c_t_o_r Specify the x and y zoom factors for pixel write
  19.                       operations.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm specifies values for the x and y zoom factors.  Let, (x ,
  23.                                                                          r
  24.      y ) be the current raster position, and let interlace be either 1 or 2
  25.       r
  26.      corresponding to whether GGGGLLLL____IIIINNNNTTTTEEEERRRRLLLLAAAACCCCEEEE____SSSSGGGGIIIIXXXX is enabled or not,
  27.      respectively.  Then, during the execution of ffffggggllllDDDDrrrraaaawwwwPPPPiiiixxxxeeeellllssss or
  28.      ffffggggllllCCCCooooppppyyyyPPPPiiiixxxxeeeellllssss, for a pixel that is in the mth row and nth column of the
  29.      source image, the destination pixels that are candidate for replacement
  30.      are those whose centers are on the bottom or left edge of, or inside the
  31.      rectangle with corners at
  32.      (x  + n x xfactor, y  + m x interlace x yfactor) and
  33.        r                 r
  34.      (x  + (n + 1) x xfactor,y  + (m x interlace + 1) x yfactor)
  35.        r                      r
  36.  
  37.      Pixel zoom factors are not limited to positive values.  Negative zoom
  38.      factors reflect the resulting image about the current raster position.
  39.  
  40. EEEERRRRRRRROOOORRRRSSSS
  41.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm is executed between the
  42.      execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd.
  43.  
  44. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  45.      ffffggggllllGGGGeeeetttt with argument GGGGLLLL____ZZZZOOOOOOOOMMMM____XXXX
  46.      ffffggggllllGGGGeeeetttt with argument GGGGLLLL____ZZZZOOOOOOOOMMMM____YYYY
  47.      ffffggggllllGGGGeeeetttt with argument GGGGLLLL____IIIINNNNTTTTEEEERRRRLLLLAAAACCCCEEEE____SSSSGGGGIIIIXXXX
  48.  
  49.  
  50. MMMMAAAACCCCHHHHIIIINNNNEEEE DDDDEEEEPPPPEEEENNNNDDDDEEEENNNNCCCCIIIIEEEESSSS
  51.      The SSSSGGGGIIIIXXXX____iiiinnnntttteeeerrrrllllaaaacccceeee extension is supported only on InfiniteReality
  52.      systems, on RealityEngine, RealityEngine2, and VTX systems, and on O2
  53.      systems.
  54.  
  55.      On InfiniteReality systems, the absolute values of the zoom factors must
  56.      be strictly less than 128.  If not, they are clamped and GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE
  57.      is generated.
  58.  
  59.      Pixel zoom factors are snapped to fixed point precision on O2 systems,
  60.      Indy and XL systems, XS, XZ, Elan, and Extreme systems.  ffffggggllllGGGGeeeetttt will
  61.      return these values.
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                                                                         PPPPaaaaggggeeee 1111
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74. ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm((((3333GGGG))))               OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee               ffffggggllllPPPPiiiixxxxeeeellllZZZZoooooooommmm((((3333GGGG))))
  75.  
  76.  
  77.  
  78. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  79.      ffffggggllllCCCCooooppppyyyyPPPPiiiixxxxeeeellllssss, ffffggggllllEEEEnnnnaaaabbbblllleeee, ffffggggllllDDDDrrrraaaawwwwPPPPiiiixxxxeeeellllssss.
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.                                                                         PPPPaaaaggggeeee 2222
  134.  
  135.  
  136.  
  137.